package cn.minis.beans.factory.config;

import lombok.Data;

@Data
public class PropertyValue {
  private Object value;
  
  private String type;
  
  private String name;
  
  private final Boolean isRef;
  
  public PropertyValue(String name, Object value) {
    this.value = value;
    this.name = name;
    this.isRef = false;
  }
  
  public PropertyValue(String type, String name, Object value) {
    this.type = type;
    this.name = name;
    this.value = value;
    this.isRef = false;
  }
  
  public PropertyValue(String type, String name, Object value, Boolean isRef) {
    this.type = type;
    this.name = name;
    this.value = value;
    this.isRef = isRef;
  }
  //省略getter和setter
}